﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 劳务日志
    /// </summary>
    [Table("PB_LabourServices")]
    public partial class PB_LabourServices
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 工序ID
        /// </summary>
        public String ProcecureSubId { get; set; }

        /// <summary>
        /// 数量/重量
        /// </summary>
        public Double? Num { get; set; }

        /// <summary>
        /// 操作人ID
        /// </summary>
        public String OperatorId { get; set; }

        /// <summary>
        /// 操作日期
        /// </summary>
        public DateTime OperationDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 结算类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 日结总重
        /// </summary>
        public Double? WeightTotal { get; set; }

        /// <summary>
        /// 工单群组
        /// </summary>
        public String Items { get; set; }

        /// <summary>
        /// 单笔结算：0-否；1-是
        /// </summary>
        public Int32? SingleSettlement { get; set; }

    }
}